package com.kaishengit.action;

import java.util.List;

import com.kaishengit.pojo.Contacts;
import com.kaishengit.service.ContactsService;

public class ContactsAction {
	
	ContactsService contactsService;
	
	
	

	public String execute(){
		
		List<Contacts> contactsList=contactsService.FindAll();
		
		return "success";
	}
	
		public String Save(Contacts contacts){
			
			
			return "success";
			
		}
		
		
		//set get
		public ContactsService getContactsService() {
			return contactsService;
		}
		
		public void setContactsService(ContactsService contactsService) {
			this.contactsService = contactsService;
		}
}
